<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Real Estate Builders Free Responsive Website Templates - icon">
    <meta name="author" content="webThemez.com">
    <title>欢迎来到拴马桩</title>
    <link rel="favicon" href="assets/images/favicon.png">
    <link rel="stylesheet" media="screen" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/font-awesome.min.css">
    <!-- Custom styles for our template -->
    <link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/pagemark.css">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="assets/js/html5shiv.js"></script>
    <script src="assets/js/respond.min.js"></script>
    <![endif]-->
    <link rel="shortcut icon" href="Imperial/assets/img/logo.php">
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <script th:src="@{/webjars/jquery/3.6.0/dist/jquery.js}"></script>
    <link rel="stylesheet" th:href="@{/webjars/layui/2.5.7/css/layui.css}">
    <script th:src="@{/webjars/layui/2.5.7/layui.js}"></script>
    <link rel="stylesheet" type="text/css" href="assets/css/ShoppingCart.css"/>
</head>
<style type="text/css">
    #imgset{
        background-image: url("/saveimage/back.png");
        height: 180px;
    }
</style>
<body>
<!-- Fixed navbar -->
<div th:replace="~{commons/commons::topbar(active='about')}"></div>
<!-- /.navbar -->

<header id="head" class="secondary">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">
                <h1>About us</h1>
            </div>
        </div>
    </div>
</header>

<!-- container -->
<link rel="canonical" href="https://bj.lianjia.com/ershoufang/rs%E6%B1%9F%E8%A5%BF/"/>
<link href="/favicon.ico" type="image/x-icon" rel=icon>
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link rel="stylesheet" href="assets/css/search.css">
<link rel="stylesheet" href="https://s1.ljcdn.com/feroot/pc/asset/ershoufang/sellList/index.css?_v=20210729174031705">

<!-- 搜索框设置 -->
<input type="text" th:value="${keyword}" id="keyword" hidden>
<input type="text" th:value="${parkingLength}" id="length" hidden>

<div class="header"  id="imgset">
    <div class="menu">

        <div class="search"  style="align-content: center">
            <div class="input" log-mod="search">
                <form th:action="@{/findparking}">
                    <input type="text" name="keyword" value="" autocomplete="off" placeholder="请输入地址开始搜索未开盘车位">
                    <input hidden value="1" name="flag" id="flag1">
                    <div class="inputRightPart">
                        <button type='submit' class="searchButton">
                            &nbsp;<i></i>&nbsp;
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="content " id="content"><!-- 左侧内容 -->
    <div class="leftContent">
        <div class="resultDes clear">
            <h2 class="total fl">共找到<span th:text="${parkingLength}"></span>个未开盘车位</h2>
        </div>
        <div id="newAddHouseContainer"></div><!--卡片吊顶-->
        <div class="top_sem_card" ></div>

        <div id="sem_card"></div>

        <ul class="sellListContent" log-mod="list" th:each="parking:${parkingList}" >
            <li class="clear LOGVIEWDATA LOGCLICKDATA">
                <a class="noresultRecommend img LOGCLICKDATA"  target="_blank" >
<!--                    <img class="lj-lazy" src="https://s1.ljcdn.com/feroot/pc/asset/img/blank.gif?_v=20210729174031705" >-->
                    <img class="li-lazy" src="/assets/images/parkingtest3.jpg">
                </a>
                <div class="info clear">
                    <div class="title">
                        <a class=""  th:href="@{/RenchouProduct(ParkingId=${parking.getId()})}" target="_blank" th:text="浙江杭州"></a>

                        <span class="goodhouse_tag tagBlock">必看好车位</span>
                    </div>
                    <div class="flood">
                        <div class="positionInfo">
                            <span class="positionIcon"></span>
                            <a th:text="${parking.getAddress()}" target="_blank" ></a>
                        </div>
                    </div>
                    <div class="address">
                        <div class="houseInfo">
                            <span class="houseIcon"></span>商品未开盘
                        </div>
                    </div>
                    <div class="priceInfo">
                        <div class="totalPrice">
                            <span th:text="${parking.getPrice()}"></span>
                        </div>
                    </div>
                    <br>
                    <br>
                    <button class="layui-btn layui-btn-warm" type="button" ><a th:href="@{/RenchouProduct(ParkingId=${parking.getId()})}" style="text-decoration: none">查看详情</a></button>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <!-- <span class="reserved" th:unless="${parking.getReserve()=='0'}">已被预定</span>-->
                </div>
            </li>
        </ul>
        <div class="navigation">
            <ol class="wp-paginate">
                <li th:unless="${currentPage==1}"><a th:href="@{/rcparkinglist(keyword=${keyword},page=${currentPage}-1)}" class="prev">上一页</a></li>
                <li th:each="a:${#numbers.sequence(1,page)}" >
                    <a th:href="@{/rcparkinglist(keyword=${keyword},page=${a})}"
                       th:class="${currentPage!=a ? 'page':'' }">
                        <span th:text="${a}" th:class="${currentPage==a ? 'page current':''}"></span>
                    </a>
                </li>
                <li th:unless="${currentPage==page}"><a th:href="@{/rcparkinglist(keyword=${keyword},page=${currentPage}+1)}" class="next">下一页</a></li>
            </ol>
        </div>
    </div>
</div>

</body>
</html>
<script>
    function addShoppingCart(id) {//把商品的id加入购物车
        let flag = confirm("是否加入购物车");
        if (flag==true){
            layui.use('layer',function (){
                $.post({
                    url:'/addShoppingCart',
                    data:{
                        'parkingId':id
                    },
                    success: function (res) {
                        layer.msg(res);
                    }
                })
            })
        }else{
            return ;
        }
    }
</script>